Benjamin Otte [Wed, 17 Dec 2014 04:52:13 +0000 (05:52 +0100)]
cssstaticstyle: Move function
We want the new() return values to be immutable, so we have to move the
code that modifes them.
Benjamin Otte [Wed, 17 Dec 2014 03:18:44 +0000 (04:18 +0100)]
stylecontext: Refactor update_properties()
It now always returns a new instance.
Benjamin Otte [Tue, 16 Dec 2014 05:47:08 +0000 (06:47 +0100)]
stylecontext: Simplify function
Instead of computing the changes manually everywhere from the parent
changes, just pass in the parent changes.
Benjamin Otte [Tue, 16 Dec 2014 05:40:10 +0000 (06:40 +0100)]
stylecontext: Simplify code
Compute the differences only once and not in both if branches.
Benjamin Otte [Tue, 16 Dec 2014 04:57:36 +0000 (05:57 +0100)]
cssanimatedstyle: Apply animation values after creation
This makes GtkCssAnimatedStyle immutable.
Benjamin Otte [Tue, 16 Dec 2014 03:15:25 +0000 (04:15 +0100)]
cssanimatedstyle: Make advancing the style return a new style
This is another step towards making CssStyles immutable.
Benjamin Otte [Mon, 15 Dec 2014 13:22:00 +0000 (14:22 +0100)]
stylecontext: Fold a function into only caller
Benjamin Otte [Mon, 15 Dec 2014 03:17:42 +0000 (04:17 +0100)]
cssanimatedstyle: Avoid creating animation
... when no animation exists.
This makes the function name kinda wrong, but I'm not sure what else to
call it.
Benjamin Otte [Mon, 15 Dec 2014 01:54:35 +0000 (02:54 +0100)]
cssanimatedstyle: Remove unused function
Benjamin Otte [Mon, 15 Dec 2014 00:58:11 +0000 (01:58 +0100)]
cssanimatedstyle: Merge two functions
Benjamin Otte [Sun, 14 Dec 2014 22:20:19 +0000 (23:20 +0100)]
stylecontext: Make build_properties create the style
Benjamin Otte [Sun, 14 Dec 2014 16:06:27 +0000 (17:06 +0100)]
stylecontext: Make static styles static
Instead of keeping an animated style everywhere, we replace it with the
static style when nothing gets animated.
Apart from making the code cleaner, this gets rid of a bunch of animated
style values that do nothing but wrap a static style.
Benjamin Otte [Sun, 14 Dec 2014 14:46:18 +0000 (15:46 +0100)]
stylecontext: Split function
Benjamin Otte [Sat, 13 Dec 2014 01:07:34 +0000 (02:07 +0100)]
stylecontext: Only look up stuff in the cache that can be in the cache
Only saved styles are stored in the cache so we should look only those
up there.
Benjamin Otte [Mon, 27 Oct 2014 03:22:49 +0000 (04:22 +0100)]
stylecontext: don't unset the current style info when clearing cache
Instead, do it manually.
Benjamin Otte [Sun, 26 Oct 2014 23:25:18 +0000 (00:25 +0100)]
stylecontext: Always pass the static style
... to build_properties.
There is always one available, so we can insist on that one.
This simplifies a bunch of code.
Benjamin Otte [Sun, 26 Oct 2014 18:38:38 +0000 (19:38 +0100)]
stylecontext: Use a static style when saved
The only style that is animated is the style of the unsaved primary
node. So there's no need to create animated style objects for the other
ones.
There is a bunch of ugliness in the code currently. Further commits are
expected to fix them.
Benjamin Otte [Sun, 26 Oct 2014 04:07:06 +0000 (05:07 +0100)]
cssstyle: Add GtkCssStaticStyle
For now, this is only an implementation detail of the animated style.
The idea is to use GtkCssStaticStyle as the result of CSS queries and
then put a GtkCssAnimatedStyle on top that manages the animations. The
neat thing about this is that you can cache the static values.
Benjamin Otte [Thu, 23 Oct 2014 02:10:03 +0000 (04:10 +0200)]
cssstyle: Split into GtkCssStyle and GtkCssAnimatedStyle
GtkCssStyle is the base class to be used for all types of styles that do
exist.
GtkCssAnimatedStyle is the only implementation so far, that is exactly a
copy/paste of the old GtkCssStyle code.
Benjamin Otte [Wed, 22 Oct 2014 21:41:50 +0000 (23:41 +0200)]
cssstyle: Rename GtkCssComputedValues => GtkCssStyle
This is literally just renaming of the object (and the associated source
files). No other changes are in there.
Benjamin Otte [Wed, 22 Oct 2014 20:36:38 +0000 (22:36 +0200)]
cssstylefuncs: Rename functions
This is in preaparation for the big GtkCssComputedValues => GtkCssStyle
rename
Christian Kirbach [Tue, 6 Jan 2015 22:42:35 +0000 (22:42 +0000)]
Updated German translation
Bruce Cowan [Mon, 5 Jan 2015 20:40:52 +0000 (20:40 +0000)]
Updated British English translation
Benjamin Otte [Mon, 5 Jan 2015 20:15:19 +0000 (21:15 +0100)]
cssselector: Reintroduce GOT_MATCH
I removed it in
14f5ce710856708dc80fcc98cb5eb2ba257f34ad because I
thought it was unnecessary, but it wasn't. When we build a tree like
this:
.matches ─┬─ .doesntmatch
└─ .alsodoesntmatch
We would get the changes for the .matches part returned. This is however
only right if that node of the tree contains results. If results only
exist with the child nodes (all of which don't match), then this part
should not match either.
Benjamin Otte [Mon, 5 Jan 2015 20:00:36 +0000 (21:00 +0100)]
cssselector: The if was the wrong way around
We want to keep matching as long as selectors are simple. Otherwise we'd
never be matching, because the first selector is always simple. Oops.
Sebastien Lafargue [Sun, 4 Jan 2015 11:40:27 +0000 (12:40 +0100)]
cellrenderertext: notify inverted
The notify for "size" and "size-points" properties
are inverted.
https://bugzilla.gnome.org/show_bug.cgi?id=742311
Emmanuele Bassi [Fri, 2 Jan 2015 23:05:29 +0000 (23:05 +0000)]
calendar: Handle invalid dates
GtkCalendar can have an invalid date — mostly at initialization. This
means that GDateTime construction may fail. We need to handle that case
gracefully, like the old code did.
This fixes the `notify` test suite, which started failing with:
/Notification/GtkCalendar:
GLib-CRITICAL **: g_date_time_get_day_of_week: assertion 'datetime != NULL' failed
inside the Continuous builder.
Christian Hergert [Thu, 1 Jan 2015 07:27:55 +0000 (23:27 -0800)]
textview: fix duplicated binding entries. use kp variants instead.
This appears to have accidentally used the normal keypresses twice instead
of the KP variants. This resulted in shift+insert pasting twice.
https://bugzilla.gnome.org/show_bug.cgi?id=742170
Inaki Larranaga Murgoitio [Wed, 31 Dec 2014 16:46:21 +0000 (17:46 +0100)]
Updated Basque language
Balázs Úr [Wed, 31 Dec 2014 13:29:14 +0000 (13:29 +0000)]
Updated Hungarian translation
Gábor Kelemen [Wed, 31 Dec 2014 13:02:56 +0000 (13:02 +0000)]
Updated Hungarian translation
Balázs Úr [Wed, 31 Dec 2014 12:03:47 +0000 (12:03 +0000)]
Updated Hungarian translation
Trần Ngọc Quân [Wed, 31 Dec 2014 08:50:54 +0000 (15:50 +0700)]
Updated Vietnamese translation
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
Ignacio Casal Quinteiro [Tue, 30 Dec 2014 12:46:11 +0000 (13:46 +0100)]
Fix typos in documentation
Jasper St. Pierre [Mon, 29 Dec 2014 02:11:49 +0000 (18:11 -0800)]
gtkstylecontext: Don't try to emit a signal when finalizing
Jasper St. Pierre [Mon, 29 Dec 2014 01:54:09 +0000 (17:54 -0800)]
gdkeventsource-wayland: Fix style
Jasper St. Pierre [Mon, 29 Dec 2014 02:13:24 +0000 (18:13 -0800)]
inspector: Update translations .ui.h file
Matthias Clasen [Sun, 28 Dec 2014 16:36:10 +0000 (11:36 -0500)]
Inspector: Show some X display characteristics
This helps diagnose e.g. csd problems.
Matthias Clasen [Sun, 28 Dec 2014 16:06:24 +0000 (11:06 -0500)]
Restore a missing file
No wonder nobody has tried my awesome magnifier yet...
Rico Tzschichholz [Sun, 28 Dec 2014 12:34:16 +0000 (13:34 +0100)]
mir: Add missing reference to gdkmir-private.h
Trần Ngọc Quân [Sun, 28 Dec 2014 02:20:14 +0000 (09:20 +0700)]
Updated vi translation for gtk+properties
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
Christian Hergert [Fri, 26 Dec 2014 22:19:55 +0000 (14:19 -0800)]
scrolledwindow: fix spurious warnings from previous scrollbar commits
Emmanuele Bassi [Thu, 25 Dec 2014 11:49:58 +0000 (11:49 +0000)]
x11/gl: Set the correct minor version
The major version is set twice.
https://bugzilla.gnome.org/show_bug.cgi?id=741954
Philip Chimento [Sat, 11 Oct 2014 04:35:23 +0000 (21:35 -0700)]
quartz: NSWindow NULL check in get_scale_factor
Sending backingScaleFactor to a NULL NSWindow will silently give the
value 0 for the scale factor, causing insidious divide-by-zero bugs down
the line. This checks if the NSWindow is NULL first, as seems to happen
throughout the rest of the file.
Note that I don't have a hi-DPI OS X machine to test this on, though.
https://bugzilla.gnome.org/show_bug.cgi?id=738338
John Ralls [Wed, 24 Dec 2014 20:50:57 +0000 (12:50 -0800)]
Prevent double-free after
8b5d30d43.
Carlos Garnacho [Mon, 1 Dec 2014 13:25:23 +0000 (14:25 +0100)]
scrolledwindow: Enable "hover" mode in scrollbars after a timeout
This way transient mouse movements over scrollbars don't cause flickering,
and more spaced movements have it enabled shortly.
Carlos Garnacho [Mon, 1 Dec 2014 12:59:22 +0000 (13:59 +0100)]
scrolledwindow: improve v/hscrollbar proximity detection
Only horizontal coordinates are checked for the vertical scrollbar, and
vice versa.
Carlos Garnacho [Mon, 1 Dec 2014 12:37:18 +0000 (13:37 +0100)]
scrolledwindow: fade out scrollbars on leave notify
Carlos Garnacho [Mon, 1 Dec 2014 12:23:57 +0000 (13:23 +0100)]
scrolledwindow: make it a windowed widget again
This is so we can detect crossing events on the scrolledwindow widget,
which can be useful for toggling certain behaviors or not depending on
whether the mouse is on the widget.
Carlos Garnacho [Sat, 29 Nov 2014 15:53:05 +0000 (16:53 +0100)]
scrolledwindow: Show scrollbars upon captured motion events
On mice, scrollbars are always triggered temporarily. On proximity to an
scrollbar, it will be switched to full-width.
Ting-Wei Lan [Wed, 24 Dec 2014 13:59:49 +0000 (21:59 +0800)]
popover: Add a missing #ifdef
Matthias Clasen [Wed, 24 Dec 2014 02:49:21 +0000 (21:49 -0500)]
GtkCalendar: Slightly change overflow behaviour
If the first of the month was falling on a Sunday, we would not
render any days of the previous month, and instead show two weeks
of the next month at the bottom. Improve this by showing one week
of each.
https://bugzilla.gnome.org/show_bug.cgi?id=301835
Matthias Clasen [Wed, 24 Dec 2014 02:47:50 +0000 (21:47 -0500)]
Avoid a crash in testcalendar
When changing between months, we can get into a situation like
'February 30", which GDate doesn't accept. Don't crash in that
case.
Matthias Clasen [Wed, 24 Dec 2014 02:11:00 +0000 (21:11 -0500)]
css: Handle font-size changes properly
Changing font size does not cause widgets to update their size
properly anymore, since we forgot an invalidation flag. The
problem can be observed e.g. by running gtk3-demo and calling
gsettings set org.gnome.desktop.interface font-name "Cantarell 22"
Matthias Clasen [Wed, 24 Dec 2014 01:36:30 +0000 (20:36 -0500)]
Adwaita: Bring back 'other month' coloring
The days that are not in the current month used to be rendered
in a ligher color. This was lost at some point. Bring it back.
Matthias Clasen [Wed, 24 Dec 2014 01:28:49 +0000 (20:28 -0500)]
GtkCalendar: Use GDateTime for calculations
Instead of old copy-paste code, use GDateTime to determine week
numbers and days of week.
Matthias Clasen [Tue, 23 Dec 2014 23:37:28 +0000 (18:37 -0500)]
Formatting fixes
Matthias Clasen [Tue, 23 Dec 2014 05:20:11 +0000 (00:20 -0500)]
Formatting fixes
Matthias Clasen [Mon, 22 Dec 2014 22:16:30 +0000 (17:16 -0500)]
GtkRecentManager: Formatting fixes
Stas Solovey [Tue, 23 Dec 2014 14:09:52 +0000 (14:09 +0000)]
Updated Russian translation
Carlos Garnacho [Mon, 20 Oct 2014 17:10:52 +0000 (19:10 +0200)]
window: Use subsurfaces for popovers on wayland
On the wayland backend, set up GDK_WINDOW_SUBSURFACE windows
for popovers. In the popover code, the popover-relative-to-parent
calculation had to be tweaked, and it's been made to always prefer
the given popover position, since there's no sizing limitations.
https://bugzilla.gnome.org/show_bug.cgi?id=738891
Patrick Welche [Tue, 23 Dec 2014 10:35:40 +0000 (10:35 +0000)]
GtkApplicationWindow: Documentation fix
gtk_builder_add_from_string takes more than 2 parameters.
https://bugzilla.gnome.org/show_bug.cgi?id=741897
Florian Müllner [Thu, 18 Dec 2014 13:18:50 +0000 (14:18 +0100)]
Adwaita: Special-case server-side window decorations
The WM already adds the window shadow in that case, so just use the
box-shadow to add the border here.
Matthias Clasen [Mon, 22 Dec 2014 15:52:54 +0000 (10:52 -0500)]
GtkNotebook: Be a bit more safe against cur_page being NULL
https://bugzilla.gnome.org/show_bug.cgi?id=477454
Matthias Clasen [Mon, 22 Dec 2014 13:21:50 +0000 (08:21 -0500)]
GtkRecentManager: Survive without a filename
We were asserting priv->filename != NULL in various places,
which leads to apps refusing to work when HOME is set to a
nonexisting or nonwritable value. Since it isn't hard, just
make GtkRecentManager survive without a filename. We won't
save or read any recently used files in this state, but
thats ok.
https://bugzilla.gnome.org/show_bug.cgi?id=739038
Daniel Mustieles [Mon, 22 Dec 2014 12:08:37 +0000 (13:08 +0100)]
Updated Spanish translation
Daniel Mustieles [Mon, 22 Dec 2014 12:08:20 +0000 (13:08 +0100)]
Updated Spanish translation
Ryan Lortie [Tue, 16 Dec 2014 17:14:23 +0000 (12:14 -0500)]
GtkMenuTracker: add hidden-when='macos-menubar'
Provide a mechanism for hiding the "Quit", "About" and "Preferences"
menu items from the normal places in a traditional menubar layout (in
the File and Edit menus) when the menu is being rendered in the Mac OS
menubar.
These items can already be found in the application menu.
With this feature, applications can now define a single menu to use in
all 'traditional' scenarios.
Use this new attribute in Bloatpad.
https://bugzilla.gnome.org/show_bug.cgi?id=741610
Matthias Clasen [Mon, 22 Dec 2014 04:14:02 +0000 (23:14 -0500)]
GtkRecentManager: Allow instantiating with gtk_init
This apparently used to work, and it doesn't do harm to allow it.
https://bugzilla.gnome.org/show_bug.cgi?id=705582
Matthias Clasen [Sun, 21 Dec 2014 03:49:09 +0000 (22:49 -0500)]
Some formatting cleanups
Chun-wei Fan [Mon, 22 Dec 2014 03:25:49 +0000 (11:25 +0800)]
GDK-Win32: Drop Some Unused Items
There were a bit of unused items from the GDK-Win32 work on GL support, so
drop them.
Ting-Wei Lan [Sun, 21 Dec 2014 06:51:00 +0000 (14:51 +0800)]
reftests: Fix typo
It causes build failure on MinGW.
https://bugzilla.gnome.org/show_bug.cgi?id=741827
Ryan Lortie [Tue, 16 Dec 2014 17:22:23 +0000 (12:22 -0500)]
GtkMenuTracker: add missing documentation fragment
https://bugzilla.gnome.org/show_bug.cgi?id=741610
Matthias Clasen [Sun, 21 Dec 2014 00:39:09 +0000 (19:39 -0500)]
inspector: Remove an errant shadow
Matthias Clasen [Sun, 21 Dec 2014 00:24:08 +0000 (19:24 -0500)]
inspector: Add a magnifier
Add a magnifier that shows the selected widget up to 5 times
enlarged.
Matthias Clasen [Sun, 21 Dec 2014 00:19:24 +0000 (19:19 -0500)]
GtkTextView: disconnect the magifier on destroy
This prevents warnings that would otherwise happen when
the magifier is finalized.
Matthias Clasen [Sun, 21 Dec 2014 00:16:46 +0000 (19:16 -0500)]
GtkMagnifier: Add a resizing mode
In addition to the fixed-size mode that is used by the text view,
add a mode in which the magnifier requests enough size to render
the entire inspected widget at the current magnification. In this
mode, the magnifier will update its size when the size of the
inspected widget changes. Also, make the magnifier redraw on its
own whenever the inspected widget draws.
Benjamin Otte [Sat, 20 Dec 2014 19:39:31 +0000 (20:39 +0100)]
widget: Set the allocation via gtk_widget_set_allocation()
There is no good reason to assign the value directly.
Also, this fixes
d23f3254b7fcef0fc57739ce5cd548742870b119
where widgets that chained up instead of calling
gtk_widget_set_allocation() would not draw becaues of empty clip.
Benjamin Otte [Fri, 19 Dec 2014 18:16:47 +0000 (19:16 +0100)]
csstransform: Fix comparisons crashing
Transforms of different type are not equal.
Benjamin Otte [Fri, 19 Dec 2014 18:05:12 +0000 (19:05 +0100)]
widget: Handle setting clip differently
(1) Get rid of supports_clip flag. All widgets (implicitly) support
clip.
(2) Don't reset the clip to { 0, 0, 0, 0 } before the "size-allocate"
signal.
(3) Make gtk_widget_set_allocation() set the clip (to the allocation).
This ensures that eveyr widget has a clip set.
Note: It overrides previous calls to gtk_widget_set_clip(), while in
3.14 this didn't happen.
(4) As the clip is set by gtk_widget_set_allocation() now, don't set
it after the "size-allocate" signal anymore.
This fixes calls to gtk_widget_queue_draw() from inside the
size_allocate vfunc.
Benjamin Otte [Tue, 16 Dec 2014 18:10:53 +0000 (19:10 +0100)]
widget-factory: Don't pulse dead widgets
Causes crashes at cleanup and we don't want those.
Also, code gets simpler.
Matthias Clasen [Fri, 19 Dec 2014 17:27:31 +0000 (12:27 -0500)]
Don't initialize GL if it has been disabled
We've observed hangs of mutter when it initializes GTK+, which
are caused by initializing GL, which in turn makes xwayland
call back into mutter. With this change, mutter should just
disable GL support in GDK, and things will work.
Matthias Clasen [Fri, 19 Dec 2014 04:20:43 +0000 (23:20 -0500)]
GtkApplication: Try to cope with ssh situations better
Override the gtk-shell-shows-app-menu and gtk-shell-shows-menubar
settings to FALSE, if we can detect that we are not on the same
session bus as the xsettings provider that we got these settings
from.
We determine this by comparing the bus ID of 'our' session
bus with the one reported in the Gtk/SessionBusId xsetting.
If they are different, then it very likely that we are in an ssh
situation where we see the forwarded X display, but not the
session bus. The D-Bus based menu exporting will not work
in this situation.
https://bugzilla.gnome.org/show_bug.cgi?id=671802
Matthias Clasen [Fri, 19 Dec 2014 04:19:19 +0000 (23:19 -0500)]
Add an XSetting for the session bus ID
This will allow us to identify situations where we are not on
the same session bus as the xsettings provider.
https://bugzilla.gnome.org/show_bug.cgi?id=671802
Christian Kirbach [Thu, 18 Dec 2014 22:49:08 +0000 (22:49 +0000)]
Updated German translation
Carlos Garnacho [Fri, 21 Nov 2014 14:21:49 +0000 (15:21 +0100)]
textview: make magnifier size dependent on text size
The magnifier is now set enough height to show the line being currently
manipulated, which makes it just big enough to show the layout height at
that size and magnification.
Carlos Garnacho [Thu, 20 Nov 2014 13:19:39 +0000 (14:19 +0100)]
Adwaita: Make text handles a bit larger
This improves visibility, and interaction, as the invisible rect around is
dependent on the visible handle size
Carlos Garnacho [Thu, 20 Nov 2014 13:12:41 +0000 (14:12 +0100)]
textview: Implement friendlier touch selection
- It is not possible anymore to trigger text DnD through touch, pressing
and dragging from within the selection will instead extend it. Text
shrinking is still available through the handles
- The selection mode for touch is per-word, char-level manipulation is
still available through the handles.
- Tapping within the selection will bring in text handles, and toggle
text selection popover.
Carlos Garnacho [Thu, 20 Nov 2014 13:03:07 +0000 (14:03 +0100)]
textview: Make "extend selection" only extend
This mode could also shrink the selection, plus the starting point would
seem somewhat arbitrary (actually dependent on the dragging direction of
the last selection).
Made this mode more consistent by only allowing it to extend the selection,
only in one direction for each operation, and so it keeps the current
selection as a minimum.
Carlos Garnacho [Thu, 20 Nov 2014 12:57:46 +0000 (13:57 +0100)]
textview: Pass a boolean telling whether a selection drag should extend
Instead of passing a GdkEvent and let the function figure out whether the
selection should be extended, let that to the caller and just pass a
boolean here.
Carlos Garnacho [Thu, 20 Nov 2014 12:52:13 +0000 (13:52 +0100)]
textview: Show magnifier on top of current line
The X coordinate is dependent on touch position, but Y is stepped.
Carlos Garnacho [Thu, 20 Nov 2014 12:46:30 +0000 (13:46 +0100)]
texthandle: Use active state when handles are being dragged
The active state flags is set on both handles when this happens.
Carlos Garnacho [Thu, 20 Nov 2014 12:41:24 +0000 (13:41 +0100)]
texthandle: Use the handle widget style context for rendering
Using the parent widget context is a leftover of the pre-popover
implementation, which used GdkWindows directly. This will make the context
reflect widget state, at the expense of changing the selector paths
that used to match the handles.
Carlos Garnacho [Thu, 20 Nov 2014 12:25:40 +0000 (13:25 +0100)]
gesturesingle: check for the sequence being handled, not just the event
Checking the return value was valid for most gestures, but
GtkGestureLongPress, where the first press triggers internally an action,
but does nothing for the sequence to be claimed/denied, FALSE was eventually
returned, and the button/sequence functions would be incorrect when
::pressed is emitted.
So check that the sequence is being handled by the gesture, this is more
desirable than the return value as it's independent of sequence state,
and still will be FALSE for the cases we want to catch here.
Sebastien Lafargue [Thu, 18 Dec 2014 20:00:45 +0000 (21:00 +0100)]
gtktextlayout: fix to quiet a warning
Gcc complains about a possible use of a not initialised
widget ref ( which can't happen in reality )
https://bugzilla.gnome.org/show_bug.cgi?id=741702
Sebastien Lafargue [Thu, 18 Dec 2014 19:52:58 +0000 (20:52 +0100)]
gtktextlayout: fix for right margin with RTL text
When a RTL paragraph is not set to wrap, the right margin is not respected
because of the margins counted twice so we replace
display->width by PIXEL_BOUND (extents.width), the same quantity
without the margins.
https://bugzilla.gnome.org/show_bug.cgi?id=741702
Erick Pérez Castellanos [Sat, 13 Dec 2014 15:36:15 +0000 (10:36 -0500)]
Minor documentation fix
Marek Kasik [Thu, 18 Dec 2014 15:26:29 +0000 (16:26 +0100)]
printing: Translate context to correct position
Use correct margins of given page setup when translating context
to imageable area.
https://bugzilla.gnome.org/show_bug.cgi?id=671895
Marek Kasik [Thu, 18 Dec 2014 15:25:50 +0000 (16:25 +0100)]
printing: Return correct width and height of page setup
Use correct margins when computing width and height returned by
gtk_page_setup_get_page_width() and
gtk_page_setup_get_page_height().
https://bugzilla.gnome.org/show_bug.cgi?id=671895
Daniel Mustieles [Thu, 18 Dec 2014 12:21:10 +0000 (13:21 +0100)]
Updated Spanish translation